package com.mlan.userap.model;

public class MsgResp {
    /**
     * 消息ID
     */
    private String msgId;

    /**
     * 消息组ID
     */
    private String groupId;

    /**
     * 发送id
     */
    private long uidFrom;
    /**
     * 消息类型  1:文本 2:图片  3:音乐 4:视屏 5:文件 6:表情 7:语音
     */
    private  int msgType;


    /**
     * 消息内容 1 文本  6 有用  其它的 用后面的的吧
     */
    private String msgContent;

    /**
     *  附件信息  2 3 4 5 7 有用
     */
    private MsgFileInfo fileInfo;

    /**
     * 消息时间戳
     */
    private long msgTicks;

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public long getUidFrom() {
        return uidFrom;
    }

    public void setUidFrom(long uidFrom) {
        this.uidFrom = uidFrom;
    }

    public int getMsgType() {
        return msgType;
    }

    public void setMsgType(int msgType) {
        this.msgType = msgType;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public MsgFileInfo getFileInfo() {
        return fileInfo;
    }

    public void setFileInfo(MsgFileInfo fileInfo) {
        this.fileInfo = fileInfo;
    }

    public long getMsgTicks() {
        return msgTicks;
    }

    public void setMsgTicks(long msgTicks) {
        this.msgTicks = msgTicks;
    }

    // 构造函数
    public MsgResp(String msgId, String groupId, long uidFrom, int msgType,
                   String msgContent, MsgFileInfo fileInfo, long msgTicks) {
        this.msgId = msgId;
        this.groupId = groupId;
        this.uidFrom = uidFrom;
        this.msgType = msgType;
        this.msgContent = msgContent;
        this.fileInfo = fileInfo;
        this.msgTicks = msgTicks;
    }
}